<template>
  <swiper
    :spaceBetween="30"
    :effect="'fade'"
    :navigation="true"
    :pagination="{
      clickable: true,
    }"
    :modules="modules"
    class="mySwiper"
  >
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper01.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper02.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper03.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper04.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper05.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper06.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper07.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper08.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
    <swiper-slide>
      <el-image src="../../../public/static/swiper-img/swiper09.jpg" style="width: 100%; height: 100%"></el-image>
    </swiper-slide>
  </swiper>
</template>
<script>
import { Swiper, SwiperSlide } from "swiper/vue";

import "swiper/css/effect-fade";
import "swiper/css/navigation";
import "swiper/css/pagination";
import "swiper/css"

// import required modules
import { EffectFade, Navigation, Pagination } from "swiper";

export default {
  components: {
    Swiper,
    SwiperSlide,
  },
  data() {
    return {
      modules: [EffectFade, Navigation, Pagination],
    };
  },
};
</script>

<style scoped>
#app { height: 100% }
html,
body {
  position: relative;
  height: 100%;
}

body {
  background: #eee;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}

.swiper {
  width: 100%;
  height: 30%;
  
  
}

.swiper-slide {
  background-position: center;
  background-size: cover;
}



</style>
